<?php

namespace App\Providers;

use Illuminate\Support\ServiceProvider;
use App\Services\Cas\TicketLocker;
use App\Services\Cas\UserLogin;

class AppServiceProvider extends ServiceProvider
{

    public function register()
    {
        $this->app->singleton(\Leo108\Cas\Contracts\Interactions\UserLogin::class, function ($app) {
            return new UserLogin();
        });

        $this->app->singleton(\Leo108\Cas\Contracts\TicketLocker::class, function ($app) {
            return new TicketLocker();
        });

    }

    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }
}
